
const dict = {

    state: {
        dictInfo: {}//下拉信息
    },
    mutations: {
        SET_DICT_INFO: (state, dictInfo) => {
            state.dictInfo[dictInfo.dictCode] = dictInfo
        }
    },
    actions:{
        setDictInfo({ commit },dictInfo){
            commit('SET_DICT_INFO',dictInfo) 
        }
    }
}

export default dict